﻿/** \file
* \$Rev$
* 
* \$Date$
*
* \$URL$
*/

using System;
using System.Collections.Generic;
using BT211.AI;

/// <summary>
/// This namespace contains everything related to the BT211 server.
/// </summary>
namespace BT211.Server
{
	/// <summary>
	/// The server state. Contains all information about tanks, bullets, AIs, etc.
	/// </summary>
	class Server
	{
		/// <summary>
		/// The list of AI types loaded from DLLs in the "AI" directory.
		/// </summary>
		public readonly List<AIFactory> aifactories = new List<AIFactory>();

		/// <summary>
		/// The constructor. Loads AI DLLs.
		/// </summary>
		public Server()
		{
			aifactories = AIFactory.LoadFactories("AI");
		}
	}
}
